package com.silent.repository;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;

import com.silent.domain.Girl;

public interface GirlRepository extends JpaRepository<Girl, Integer> {

	
	//通过年龄查询一个女生
	public List<Girl> findByAge(Integer age);
}
